package com.qishon.jdk8.interfaces;

public class FormulaImpl implements Formula, Formula2 {

    @Override
    public double calculate(int a) {
        return 0;
    }

    @Override
    public double specify(int a) {
        return 3 * a;
    }

    public static void main(String[] args) {
        FormulaImpl formula = new FormulaImpl();
        System.out.println(formula.specify(2));
    }
}
